<?php
/**
 * Author: qiba@ibantang.com, 2019, all rights reserved.
 * Date: 2019-03-14
 * Time: 20:31
 */

namespace Core\Common\Base;

interface RouteMiddlewareInterface
{
    /**
     * 执行中间件
     */
    public static function run(): bool;

    public static function error(): array;
}